<?php 
class MW_Simplenews_Block_Userpost extends Mage_Core_Block_Template
{
	public function __construct(){
		parent::__construct();
		$temp = $this->getCategory();
		$this->setCategory($allCategory);
			
	}

	public function _prepareLayout(){
		return parent::_prepareLayout();
	}

	public function getActionOfForm(){
		return $this->getUrl('simplenews/news/user');
	}

	public function getCategory(){
		$allCategory = Mage::helper('simplenews')->getCategoryOptionValues(true);
		return $allCategory;
	}
}